Piwik\Tracker\Visit B

Total Complexity 81
Dependencies 24
Dependents 10
Total lines 497
Lines of code 302
Logical lines of code 199
Comment lines 133
Methods 28
Properties 9

Methods 28

Method Rating Maintainability Complexity Lines of code
handle()
A
42 14 51
setIdVisitorForExistingVisit()
S
55 6 19
handleExistingVisit()
S
53 5 21
triggerHookOnDimensions()
S
55 5 20
updateExistingVisit()
S
56 5 17
isHostKnownAliasHost()
S
59 4 14
getVisitorIdcookie()
S
62 4 11
handleNewVisit()
S
56 3 17
markArchivedReportsAsInvalidIfArchiveAlreadyFinished()
S
58 3 15
getAllVisitDimensions()
S
62 3 11
getTimeSpentReferrerAction()
S
63 3 11
getTimezoneForSite()
S
63 3 10
triggerPredicateHookOnDimensions()
S
63 3 10
printVisitorInformation()
S
67 3 7
validateRequest()
S
71 2 6
checkSiteExists()
S
66 2 8
getExistingVisitFieldsToUpdate()
S
64 2 10
insertNewVisit()
S
80 1 3
getVisitStandardLength()
S
80 1 3
__construct()
S
68 1 7
toCanonicalHost()
S
74 1 4
setNewVisitorInformation()
S
65 1 9
setRequest()
S
81 1 3
getSettingsObject()
S
82 1 3
getVisitorIp()
S
80 1 3
generateUniqueVisitorId()
S
78 1 3
getModel()
S
79 1 3
makeVisitorFacade()
S
77 1 3